﻿namespace Foundation
{
    /// <summary>
    /// Localization implementation.
    /// </summary>
    public class Localization : ILocalization
    {
        /// <summary>
        /// Gets the localization.
        /// </summary>
        /// <param name="key">The key.</param>
        /// <returns></returns>
        public string GetLocalization(string key)
        {
            return DefaultLocalizationResource.ResourceManager.GetObject(key) as string;
        }
    }
}
